<script>
export default {
	onLaunch: function() {
		console.log('App Launch');
		uni.hideTabBar();
	},
	onShow: function() {
		console.log('App Show');
		console.log(uni.$u.config.v, '111');
		
		// console.log(this.$route.path)
		// uni.switchTab({
		// 	url: '/pages/index/index'
		// });
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>

<style lang="scss">
@import '@/uni_modules/uview-ui/index.scss';
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
.common {
	box-sizing: content-box;
	width: 702rpx;
	margin: auto;
}
</style>
